<?php
$a = include("./Common/Conf/config.php");
$conn = mysqli_connect($a["DB_HOST"],$a["DB_USER"],$a["DB_PWD"],$a["DB_NAME"]);
$res = mysqli_query($conn,"update com set status='1' where cid='$_GET[cid]'");
if($res){
	echo 1;
}else{
	echo 0;
}
//echo "$a[DB_HOST]";
//I("cid")
?>